package com.kylefu.design.pattern.adapter;

import java.util.concurrent.Callable;

public class Callback implements Callable<Long> {

  private Long count;

  public Callback(Long count) {
    this.count = count;
  }

  @Override
  public Long call() throws Exception {
    System.out.println(String.format("call:%s", count));
    return count;
  }
}
